package com.chtounet.keo.importer.xls.dto;

import java.io.Serializable;
import java.util.Date;

import com.chtounet.keo.importer.IConstants;

/**
 * a basic event
 * @author chtounet
 *
 */
public class BasicEventDTO implements Serializable {
	

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -2635259157724095704L;
	
	/**
	 * the date when to start the healing cycle
	 */
	private Date startDate = new Date();
	
	/**
	 * delta between two dates 
	 */
	private int occurence = IConstants.DEFAULT_EVENT_OCCURENCE;
	
	public BasicEventDTO() {
	}


	/**
	 * constructor with params
	 * @param startDate 
	 * @param occurence
	 */
	public BasicEventDTO(final Date startDate, final int occurence) {
		this.occurence = occurence;
		this.startDate = startDate;
	}


	public Date getStartDate() {
		return startDate;
	}


	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}


	public int getOccurence() {
		return occurence;
	}


	public void setOccurence(int occurence) {
		this.occurence = occurence;
	}
	

}
